Session tracking is a common technique used in Web programs to track the entire session of a user. Common session-tracking techniques are cookies and sessions. The cookie determines the user identity by logging information on the client, and the
Cookies are generated by the server side and sent to User-agent (typically the browser), and the browser saves the cookie key/value to a text file in a directory. Send the cookie to the server the next time you request the same Web site (provided
Session trackingSession tracking is a common technique used in Web programs to track a user's entire session. Commonly used session tracking technology for cookies and sessions. The cookie determines the user's identity by logging information on the
When it comes to cookies, I think we should all know that it is a save on the client, when the browser requests a URL, the browser will carry the relevant cookies to the server side, so the server can operate cookies, in response, the cookie
COOKIE and SESSION comparison
1. the HTTP protocol itself is stateless.
We need to transmit information over HTTP to access the Internet. For example, if you type "www.sanyalanhua.com" in your browser and press enter, you will find that the
This article mainly introduces PHP Session control: Session and Cookie Details. This article describes Session and Cookie related knowledge in PHP in detail and covers a wide range of topics, for more information about PHP session control, see the
Cookie Introduction The quotation of a cookie is intended to be "dim sum", which is the information that the server stores on the client's hard disk when the client accesses the Web server, as if it were a "dim sum" sent by the server to the
See a good article on the Internet, write in detail.The following references the blog post. Reproduced in the "http://www.cnblogs.com/whgk/p/6422391.html", this is only for the purpose of learning reference.First, the session mechanismA common
Session is a server-side storage space maintained by the application server. When you connect to the server, the server generates a unique SessionID, use this SessionID as the identifier to access the Session bucket on the server. SessionID is saved
ObjectiveThe front spent a few blog introduction of the servlet, speaking very detailed. This article introduces you to cookies and session.I. Session Overview 1.1, what is a session?A session can be simply understood as: A user opens a browser,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.